package com.jxbeidou.gateway.service;


import com.jxbeidou.core.entity.R;
import com.jxbeidou.gateway.entity.CaptchaVO;

/**
 * 验证码处理
 *
 * @author ruoyi
 */
public interface ValidateCodeService
{
    /**
     * 生成验证码
     */
    R<CaptchaVO> createCaptcha();

    /**
     * 校验验证码
     */
    R<String> checkCaptcha(String key, String value);
}
